package com.aijk.ehm.api;

import com.aijk.commons.exception.ErrorCodeException;
import com.aijk.ehm.model.EhmInfoClassify;
import com.aijk.ehm.model.qo.EhmInfoClassifyQo;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface EhmInfoClassifyApi {
    Long save(EhmInfoClassify bean) throws ErrorCodeException;

    void update(EhmInfoClassify bean) throws ErrorCodeException;

    EhmInfoClassify findOne(Long id) throws ErrorCodeException;

    List<EhmInfoClassify> list(EhmInfoClassifyQo qo);

    void deleteById(Long id) throws ErrorCodeException;

    int count(EhmInfoClassifyQo qo);

    PageInfo<EhmInfoClassify> page(EhmInfoClassifyQo qo);
}